package xiaoyang.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import xiaoyang.dao.DataDictionaryMapper;
import xiaoyang.pojo.DataDictionary;
import xiaoyang.service.DataDictionaryService;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class DataDictionaryServiceImpl implements DataDictionaryService {
    @Resource
    private DataDictionaryMapper dataDictionaryMapper;
    @Override
    public List<DataDictionary> getDictionary() {
        return dataDictionaryMapper.getDictionary();
    }

    @Override
    public List<DataDictionary> getStatus() {
        return dataDictionaryMapper.getStatus();
    }
}
